package linter;

import cn.xuyanwu.spring.file.storage.EnableFileStorage;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

/**
 * @author 北煜
 */
@SpringBootApplication
@MapperScan("linter.mapper")

@EnableCaching
@EnableScheduling
@EnableFileStorage
@EnableWebMvc
@EnableWebSocket
public class LingterApplication {

    public static void main(String[] args) {
        SpringApplication.run(LingterApplication.class, args);
    }
}
